package com.hilin.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("签名类")
public class SignVo {

    @ApiModelProperty("机构ID")
    private Long orgId;
    @ApiModelProperty("随机字符串，最大32位")
    private String nonce;
    @ApiModelProperty("用户ID，如果不指定用户，则生成管理员token")
    private String accountId;
    @ApiModelProperty("时间戳，秒")
    private Long timestamp;
    @ApiModelProperty("签名字符串，签名方式:MD5大写(appid+nonce+timestamp+secret)  appid和secret需要申请")
    private String sign;

}
